package com.ty.day2.home;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/11/15 18:26
 */
public class GPU extends Hardware {
    Integer videoMemory;

    public void print() {
        System.out.println("GPU: brand=" + brand +
                ", model=" + model +
                ", price=" + price + " 元" +
                ", videoMemory=" + videoMemory+"MB");
    }
}
